<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>${htmltitle!''}</title>
<link rel="icon" href="${rc.getContextPath()}/manage/images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="${rc.getContextPath()}/manage/images/favicon.ico" type="image/x-icon" />
<link href="${rc.getContextPath()}/manage/styles/dwz/themes/default/style.css?v=${ver}" rel="stylesheet" type="text/css" media="screen" />
<link href="${rc.getContextPath()}/manage/styles/dwz/themes/css/core.css?v=${ver}" rel="stylesheet" type="text/css" media="screen" />
<link href="${rc.getContextPath()}/manage/styles/dwz/themes/css/print.css?v=${ver}" rel="stylesheet" type="text/css" media="print" />
<link href="${rc.getContextPath()}/manage/styles/dwz/themes/css/icons.css?v=${ver}" rel="stylesheet" type="text/css" media="screen" />
<link href="${rc.getContextPath()}/manage/styles/dwz/themes/css/mini.css?v=${ver}" rel="stylesheet" type="text/css" media="screen" />
<link href="${rc.getContextPath()}/manage/js/qtip/jquery.qtip.min.css" type="text/css" rel="stylesheet" />
<link href="${rc.getContextPath()}/manage/js/webuploader-0.1.5/webuploader.css?v=${ver}" rel="stylesheet" type="text/css" media="screen" />
<script src="${rc.getContextPath()}/manage/styles/dwz/js/jquery-1.7.2.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/js/jquery-ui.min.js?v=${ver}" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/js/pop.js?v=${ver}" type="text/javascript"></script>
<!-- jquery-1.7.2.min.js -->
<script src="${rc.getContextPath()}/manage/styles/dwz/js/jquery.cookie.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/styles/dwz/js/jquery.validate.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/styles/dwz/js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/styles/xheditor/xheditor-1.2.1.min.js?v=${ver}" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/styles/xheditor/xheditor_lang/zh-cn.js?v=${ver}" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/js/webuploader-0.1.5/webuploader.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/styles/dwz/js/dwz.min.js?v=${ver}" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/styles/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/js/qtip/jquery.qtip.min.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.lookup.js?v=${ver}" type="text/javascript"></script>    
<script src="${rc.getContextPath()}/manage/js/jquery-accordion-menu.js?v=${ver}" type="text/javascript"></script>
<script src='${rc.getContextPath()}/manage/styles/colorPicker/spectrum.js' type="text/javascript"></script>
<script src='${rc.getContextPath()}/manage/js/fullcalendar/lib/moment.min.js'></script>
<script src='${rc.getContextPath()}/manage/js/fullcalendar/fullcalendar.min.js'></script>
<!-- jGrid 列表组件 -->
<script type="text/javascript" src="${rc.getContextPath()}/manage/js/jquery.jgrid.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/manage/js/jquery.selectally.js"></script>
<!-- jGantt 甘特图组件 -->
<link href="${rc.getContextPath()}/manage/styles/jGantt/jquery.jgantt.css" type="text/css" rel="stylesheet" />
<script src="${rc.getContextPath()}/manage/js/jquery.jgantt.js?v=${ver}" type="text/javascript"></script>
<!--[if lte IE 8]>
<script type="text/javascript" src="${rc.getContextPath()}/manage/pie/PIE.js"></script>
<script src="${rc.getContextPath()}/manage/js/jquery.enplaceholder.js"></script>
<![endif]-->
<script type="text/javascript">
    /**
     * 项目网络根路径
     */
    var hostUrl = '${rc.getContextPath()}/manage';
    /**
     * 图片服务器网络根路径
     */
    var imgHostUrl = '${rc.getContextPath()}/manage/';
    
    var userLanguage = '${language!''}'
    
    var queryButtonText = '<@label key="query.B">查询</@label>',
    advancedQueryText= '<@label key="advancedQuery.C">高级查询</@label>',
    pagePanelShow = '<@label key="pagePanelShow.C">显示</@label>',
    pagePanelTotal = '<@label key="pagePanelMiddle.C">共</@label>',
    pagePanelTotalItems = '<@label key="item.C">条</@label>',
    queryColon = '<@label key="colon">：</@label>',
    noRightDescription = '<@label key="noright.C">没有权限操作</@label>';
</script>
<!-- 我是分割线 -->
<script type="text/javascript">
    $(function() {
    	var tempExisting = false;
    	$.ajax({
    		url: '${rc.getContextPath()}/manage/styles/dwz/dwz.frag_${language!"zh"}.xml',
    		async: false,
    		global: false,
    		success: function() {
    			tempExisting = true;
    		}
    	});
    	var tempLanguage = tempExisting ? '${language!"zh"}' : 'zh';
        DWZ.init("${rc.getContextPath()}/manage/styles/dwz/dwz.frag_" + tempLanguage + ".xml", {
            loginUrl : "${rc.getContextPath()}/manage/login",
            statusCode : {
                ok : 200,
                error : 300,
                timeout : 301
            }, //【可选】
            pageInfo : {
                pageNum : "pageNum",
                numPerPage : "numPerPage",
                orderField : "orderField",
                orderDirection : "orderDirection"
            }, //【可选】
            debug : false, // 调试模式 【true|false】
            callback : function() {
                initEnv();
                $("#themeList").theme({
                    themeBase : "${rc.getContextPath()}/manage/styles/dwz/themes"
                }); // themeBase 相对于index页面的主题base路径
            }
        });
    });
</script>
<script type="text/javascript">
(function($, window) {
	// jQuery validate
	$.extend($.validator.messages, {
		required : "<@label key='required.M'>必填字段</@label>",
		remote : "<@label key='remote.M'>已存在，请修正</@label>",
		email : "<@label key='email.M'>请输入正确格式的电子邮件</@label>",
		url : "<@label key='url.M'>请输入合法的网址</@label>",
		date : "<@label key='date.M'>请输入合法的日期</@label>",
		minDate : $.validator.format("<@label key='MinDate.M'>请输入大于 {0} 的日期或时间</@label>"),
		maxDate : $.validator.format("<@label key='MaxDate.M'>请输入小于 {0} 的日期或时间</@label>"),
		dateISO : "<@label key='dateISO.M'>请输入合法的日期 (ISO).</@label>",
		number : "<@label key='number.M'>请输入合法的数字</@label>",
		digits : "<@label key='digits.M'>只能输入整数</@label>",
		creditcard : "<@label key='creditcard.M'>请输入合法的信用卡号</@label>",
		equalTo : "<@label key='equalTo.M'>请再次输入相同的值</@label>",
		accept : "<@label key='accept.M'>请输入拥有合法后缀名的字符串</@label>",
		maxlength : $.validator.format("<@label key='maxlength.M'>长度最多是 {0} 的字符串</@label>"),
		minlength : $.validator.format("<@label key='minlength.M'>长度最少是 {0} 的字符串</@label>"),
		rangelength : $.validator.format("<@label key='rangelength.M'>长度介于 {0} 和 {1} 之间的字符串</@label>"),
		range : $.validator.format("<@label key='rangelength.M'>请输入一个介于 {0} 和 {1} 之间的值 </@label>"),
		max : $.validator.format("<@label key='max.M'>请输入一个最大为 {0} 的值 </@label>"),
		min : $.validator.format("<@label key='min.M'>请输入一个最小为 {0} 的值 </@label>"),
		alphanumeric : "<@label key='alphanumeric.M'>字母、数字、下划线</@label>",
		lettersonly : "<@label key='lettersonly.M'>必须是字母</@label>",
		phone : "<@label key='phone.M'>数字、空格、括号</@label>",
		oneDecimal : $.validator.format("<@label key='oneDecimal.M'>请输入正数,至多只能有一位小数</@label>"),
		noData : '======<@label key="noListData.C">列表无数据</@label>====='
	});

	// DWZ regional
	$.setRegional("datepicker", {
		dayNames : ["<@label key='sunday.C'>日</@label>",
			"<@label key='monday.C'>一</@label>",
			"<@label key='tuesday.C'>二</@label>",
			"<@label key='wednesday.C'>三</@label>",
			"<@label key='thursday.C'>四</@label>",
			"<@label key='friday.C'>五</@label>",
			"<@label key='saturday.C'>六</@label>"],
		monthNames : ["<@label key='january.C'>一月</@label>",
			"<@label key='february.C'>二月</@label>",
			"<@label key='march.C'>三月</@label>",
			"<@label key='april.C'>四月</@label>",
			"<@label key='may.C'>五月</@label>",
			"<@label key='june.C'>六月</@label>",
			"<@label key='july.C'>七月</@label>",
			"<@label key='august.C'>八月</@label>",
			"<@label key='september.C'>九月</@label>",
			"<@label key='october.C'>十月</@label>",
			"<@label key='november.C'>十一月</@label>",
			"<@label key='december.C'>十二月</@label>"]
	});
	$.setRegional("alertMsg", {
		title : {
			error : "<@label key='error.C'>错误</@label>",
			info : "<@label key='info.C'>提示</@label>",
			warn : "<@label key='warn.C'>警告</@label>",
			correct : "<@label key='correct.C'>成功</@label>",
			confirm : "<@label key='confirm.C'>确认提示</@label>"
		},
		butMsg : {
			ok : "<@label key='ok.B'>确定</@label>",
			yes : "<@label key='yes.B'>是</@label>",
			no : "<@label key='no.B'>否</@label>",
			cancel : "<@label key='cancel.B'>取消</@label>"
		}
	});
	$(function() {
		$('.user').mouseover(function() {
			$('.userMoreList').attr("style", "display: block;");
		});
		$('.user').mouseleave(function() {
			$('.userMoreList').attr("style", "display: none;");
		});
		$('.userMoreList').mouseover(function() {
			$('.userMoreList').attr("style", "display: block;");
		});
		$('.userMoreList').mouseleave(function() {
			$('.userMoreList').attr("style", "display: none;");
		});
	});
	/* // 统一处理未捕获的异常
	window.onerror = function(error, url, line) {
		console.error(error + ";" + url + ";" + line);
		// 如果有异常关闭遮罩层
		$("#background, #progressBar").hide();
		return true;
	} */
})(jQuery, window);
</script>
<!-- 以下js为自定义的dwz框架的js -->
<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.init.js" type="text/javascript"></script>
<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.tree.search.js" type="text/javascript"></script>
<style type="text/css">
#circle {
	width: 13px;
	height: 13px;
	position: relative;
	top: -20px;
	left: 14px;
	background: #e9573f;
	box-shadow: 0px 0px 5px #404040;
	z-index: 100;
	display: none;
}

#messages {
	text-align: center;
	color: #fff;
	font-size: 12px;
	font-family: sans-serif;
	line-height: 13px;
}

@-webkit-keyframes twinkling { 
	0%{
		opacity: 0.2;
	}
	
	100%{
		opacity: 1;
	}
}

@keyframes twinkling {
	0%{
		opacity: 0.2;
	}
	
	100%{
		opacity: 1;
	}
}

.twinkling {
	animation: twinkling 1s infinite ease-in-out;
	-webkit-animation: twinkling 1s infinite ease-in-out;
	display: block !important;
}
</style></head>
<body scroll="no">
    <div id="layout">
        <div id="header">
            <a class="logo" href="#">标志</a>
            <div class="headerNav">
                <ul class="nav">
                    <li><li class="user" href="">${(userName)!''}<span></span></li></li>
                    <ul class="userMoreList">
                        <li><a href="${rc.getContextPath()}/manage/changePWD"
                            target="dialog" rel="changePWD" mask="true" width="440"
                            height="200"><@label key="changePWD.C">密码修改</@label></a></li>
                    </ul>
                    <li class="messageLi"></li>
                    <li>
                        <div>
                            <a id="messagelist" class="message"
                                href="${rc.getContextPath()}/manage/message/messageList?navTabId=message"
                                target="navTab" rel="message"
                                title="<@label key='message.C'>消息</@label>"><span></span></a>
                            <div id="notify">
                                <div id="circle">
                                    <p id="messages"></p>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li><a class="loginOut" confirm='<@label key="confirmExit.C">确认要退出iME系统吗？</@label>'
                        href="${rc.getContextPath()}/manage/mylogout"
                        title="<@label key='loginOut.C'>登出</@label>"><span></span></a></li>
                </ul>
            </div>
            <!-- navMenu -->
        </div>
